package com.project.demo.controller;

import com.project.demo.service.FinanceService;
import com.project.demo.vo.FinanceVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class FinanceController {
    @Autowired
    private FinanceService financeService;
    @RequestMapping("/finance")
    public FinanceVo finance(Integer page,Integer limit){
        return financeService.FindFinanceVo(page, limit);
    }
}
